package com.atguigu.flink0624.util;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author lizhenchao@atguigu.cn
 * @Date 2021/11/13 10:35
 */
public class AtguiguUtil {
    public static <T> List<T> toList(Iterable<T> it) {
        ArrayList<T> result = new ArrayList<>();
        for (T t : it) {
            result.add(t);
        }
        
        return result;
    }
}
